/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.payingBank.BankInfoInData;

public class BankInfoUtil {
    public static HttpJson getBankInfoList(BankInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/bankInfo/bankInfoList", JSON.toJSONString(inData));
    }

    public static HttpJson getBankNames(BankInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/bankInfo/getBankNames", JSON.toJSONString(inData));
    }

    public static HttpJson getAllBankIdByName(BankInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/bankInfo/getAllBankIdByName", JSON.toJSONString(inData));
    }

    public static HttpJson getAllBankAccountByName(BankInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/bankInfo/getAllBankAccountByName", JSON.toJSONString(inData));
    }

    public static HttpJson getBankIdByBankAccount(BankInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/bankInfo/getBankIdByBankAccount", JSON.toJSONString(inData));
    }

    public static HttpJson addBankInfo(BankInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/bankInfo/addBankInfo", JSON.toJSONString(inData));
    }

    public static HttpJson getBankInfo(BankInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/bankInfo/getBankInfo", JSON.toJSONString(inData));
    }

    public static HttpJson editBankInfo(BankInfoInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/bankInfo/editBankInfo", JSON.toJSONString(inData));
    }
}

